<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <script>
        // Add dependencies and exports
        const {buildGraph} = require("./graph")
        const roads = [
            "Alice's House-Bob's House", "Alice's House-Cabin",
            "Alice's House-Post Office", "Bob's House-Town Hall",
            "Daria's House-Ernie's House", "Daria's House-Town Hall",
            "Ernie's House-Grete's House", "Grete's House-Farm",
            "Grete's House-Shop", "Marketplace-Farm",
            "Marketplace-Post Office", "Marketplace-Shop",
            "Marketplace-Town Hall", "Shop-Town Hall"
        ];
        exports.roadGraph = buildGraph(roads.map(r => r.split("-")));
    </script>
</body>

</html>